﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="edit.aspx.cs" Inherits="JumbotCms.WebFile.Admin._forbidipedit" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title></title>
<link type="text/css" rel="stylesheet" href="../../admin/otherpage/styles/common.css" />
<script type="text/javascript" src="../../_data/SysConfig.js"></script>
<script type="text/javascript" src="../../_libs/jquery-min.js"></script>
<script type="text/javascript" src="../../scripts/jumbotcms.js?v4"></script>
<link type="text/css" rel="stylesheet" href="../../style/global.css" />
<link type="text/css" rel="stylesheet" href="../../_libs/jquery.formvalidator/style.css" />
<script type="text/javascript" src="../../_libs/jquery.formvalidator.js"></script>

<script type="text/javascript" src="../../webui/my97datepicker4.6/WdatePicker.js"></script>
<script type="text/javascript">
$(document).ready(function(){
	$.formValidator.initConfig({onError:function(msg){}});
	$("#txtStartIP").formValidator({tipid:"tipStartIP",onshow:"输入标准IP格式",onfocus:"例如：96.48.1.1",oncorrect:""}).RegexValidator({regexp:"^(((2[0-4]{1}[0-9]{1})|(25[0-5]{1}))|(1[0-9]{2})|([1-9]{1}[0-9]{1})|([0-9]{1})).(((2[0-4]{1}[0-9]{1})|(25[0-5]{1}))|(1[0-9]{2})|([1-9]{1}[0-9]{1})|([0-9]{1})).(((2[0-4]{1}[0-9]{1})|(25[0-5]{1}))|(1[0-9]{2})|([1-9]{1}[0-9]{1})|([0-9]{1})).(((2[0-4]{1}[0-9]{1})|(25[0-5]{1}))|(1[0-9]{2})|([1-9]{1}[0-9]{1})|([0-9]{1}))$",onerror:"IP输入有误"});
	$("#txtEndIP").formValidator({tipid:"tipEndIP",onshow:"输入标准IP格式",onfocus:"例如：96.48.1.255",oncorrect:""}).RegexValidator({regexp:"^(((2[0-4]{1}[0-9]{1})|(25[0-5]{1}))|(1[0-9]{2})|([1-9]{1}[0-9]{1})|([0-9]{1})).(((2[0-4]{1}[0-9]{1})|(25[0-5]{1}))|(1[0-9]{2})|([1-9]{1}[0-9]{1})|([0-9]{1})).(((2[0-4]{1}[0-9]{1})|(25[0-5]{1}))|(1[0-9]{2})|([1-9]{1}[0-9]{1})|([0-9]{1})).(((2[0-4]{1}[0-9]{1})|(25[0-5]{1}))|(1[0-9]{2})|([1-9]{1}[0-9]{1})|([0-9]{1}))$",onerror:"IP输入有误"});
});
    </script>
</head>
<body>
<form id="form1" runat="server" onsubmit="return jQuery.formValidator.PageIsValid('1')">
	<table class="formtable">
		<tr>
			<th> 截至日期 </th>
			<td><asp:TextBox ID="txtExpireDate" runat="server" MaxLength="20" CssClass="Wdate ipt"></asp:TextBox>
				<div class="ValidatorTip" id="tipExpireDate" style="width:250px"> </div></td>
		</tr>
		<tr>
			<th> 开始IP </th>
			<td><asp:TextBox ID="txtStartIP" runat="server" Width="120px" MaxLength="20" CssClass="ipt"></asp:TextBox>
				<div class="ValidatorTip" id="tipStartIP" style="width:250px"> </div></td>
		</tr>
		<tr>
			<th> 结束IP </th>
			<td><asp:TextBox ID="txtEndIP" runat="server" Width="120px" MaxLength="20" CssClass="ipt"></asp:TextBox>
				<div class="ValidatorTip" id="tipEndIP" style="width:250px"></div></td>
		</tr>

	</table>
	<div class="buttonok">
		<asp:Button ID="btnSave" runat="server" Text="确定" CssClass="btnsubmit" />
		<input id="btnReset" type="button" value="取消" class="btncancel" OnClick="parent.JumbotCms.Popup.hide();" />
	</div>
</form>
<script>jcms$$SetDialogTitle();</script>
</body>
</html>
